#include <stddef.h>
#include <math.h>

 //disable warnings on 255 char debug symbols
    #pragma warning (disable : 4786)
   //disable warnings on extern before template instantiation
    #pragma warning (disable : 4231)

#ifdef WIN32
	#ifdef MATHLIB_EXPORTS
		#define MATHLIB_API __declspec(dllexport)
		#define EXPIMP_TEMPLATE
	#else
		#define MATHLIB_API __declspec(dllimport)
		#define EXPIMP_TEMPLATE extern
	#endif
#else	// Not windows --- probably *nix/bsd
	#define MATHLIB_API
	#ifdef MATHLIB_EXPORTS
		#define EXPIMP_TEMPLATE
	#else
		#define EXPIMP_TEMPLATE extern
	#endif
#endif